using System;

[Serializable]
public class InvisibleOrJetpackKillEvent : GameplayEvent
{
	public bool needeIndisible;

	public bool needeVictemJetpack;

	public bool needeKillerJetpack;

	public bool IfEvent(KillInfo newKill)
	{
		if (needeIndisible)
		{
			if (newKill.invisible)
			{
				return true;
			}
		}
		else if (needeVictemJetpack)
		{
			if (newKill.victimJetpack)
			{
				return true;
			}
		}
		else if (needeKillerJetpack && newKill.killerJetpack)
		{
			return true;
		}
		return false;
	}
}
